package com.paic.custserv.mapper;

import java.util.List;
import java.util.Map;

import org.mybatis.spring.annotation.MapperScan;

import com.paic.custserv.domain.CussWorkOrderType;

@MapperScan
public interface CussWorkOrderTypeMapper {
	
	public int deleteCussWorkOrderType(Integer idWorkOrderType);

    public int insertCussWorkOrderType(CussWorkOrderType record);

    public int insertSelective(CussWorkOrderType record);

    public CussWorkOrderType selectByPrimaryKey(Integer idWorkOrderType);

    public int updateByPrimaryKeySelective(CussWorkOrderType record);

    public int updateByPrimaryKey(CussWorkOrderType record);
    
    public List<Map<String,Object>> selectByParentType(Integer parentTypeId);
    
    public List<Map<String,Object>> selectAllType();
}